$w: 200px;

.box {
    width: $w;
    height: $w / 2;
    p {
        background-color: yellow;
        color: cyan;
        font-size: 12px;
    }
}